package com.example.common.security.rbac;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @program: springsecurity-study
 * @description: RBAC判断权限接口
 * @author: ChenZhiXiang
 * @create: 2019-08-01 17:09
 **/
public interface RbacService {

    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
